const mongoose = require('mongoose');
var mongoosePaginate = require('mongoose-paginate');

var schema = new mongoose.Schema({
    name:String,
    sex:String,
    age:Number,
    hobby:String,
    brithday:Date,
    work:String,
    tel:Number,
    email:String,
    edu:String,
    boardDate:Date
});
schema.plugin(mongoosePaginate);

module.exports = mongoose.model('User',  schema);
